package com.ikingtech.platform.service.authorization;

import com.ikingtech.framework.sdk.enums.authorization.ResourceTypeEnum;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author tie yan
 */
@Data
public class Resource implements Serializable {

    @Serial
    private static final long serialVersionUID = -1797850771742164209L;

    private String name;

    private String code;

    private ResourceTypeEnum type;

    private String typeName;

    private List<ResourcePermission> permissions;
}
